<?php
$this->breadcrumbs=array(
	'Groups',
);

$this->menu=array(
	array('label'=>'Create Group','url'=>array('create')),
	array('label'=>'Manage Group','url'=>array('admin')),
);
?>

<h1>Groups</h1>
<?php $this->widget('bootstrap.widgets.TbGridView', array(
    'type'=>'striped bordered condensed',
    'dataProvider'=>$dataProvider,
    'template'=>"{items}",
    'columns'=>array(
        array('name'=>'id', 'header'=>'#'),
        array('name'=>'name_en', 'header'=>'First name'),
        array('name'=>'name_th', 'header'=>'Last name'),
        array(
            'class'=>'bootstrap.widgets.TbButtonColumn',
            'htmlOptions'=>array('style'=>'width: 50px'),
            'template' => '{update} {delete}',
        ),
    ),
)); ?>
